package com.example.leetcode.bfs;

import com.example.leetcode.bfs.common.BFSUtils;

import java.util.Arrays;

class Solution130 {

    public void solve(char[][] board) {
        BFSUtils.solve(board);
    }
}

public class leetcode130 {
    public static void main(String[] args) {
        Solution130 solution130 = new Solution130();
        char[][] board = {
                {'X', 'X', 'X', 'X'},
                {'X', 'O', 'O', 'X'},
                {'X', 'X', 'O', 'X'},
                {'X', 'O', 'X', 'X'}
        };

        solution130.solve(board);
        System.out.println(Arrays.deepToString(board));
    }
}
